<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <title>安全保护区在线审查系统</title>
    <meta name="renderer" content="webkit" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta
      name="viewport"
      content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0"
    />
    <link
      rel="stylesheet"
      href="../layuiadmin/layui/css/layui.css"
      media="all"
    />
    <link rel="stylesheet" href="../layuiadmin/style/admin.css" media="all" />
    <link rel="stylesheet" href="../layuiadmin/style/style.css" media="all" />
    <script>
      /^http(s*):\/\//.test(location.href) ||
        alert("请先部署到 localhost 下再访问");
    </script>
  </head>
  <body class="layui-layout-body">
    <div id="LAY_app">
      <div class="layui-layout layui-layout-admin">
        <div class="layui-header">
          <!-- 头部区域 -->
          <ul class="layui-nav layui-layout-left">
            <h1 class="indexTitle">安全保护区在线审查系统</h1>
          </ul>
          <ul
            class="layui-nav layui-layout-right"
            lay-filter="layadmin-layout-right"
          >
            <li class="layui-nav-item" lay-unselect>
              <a href="javascript:;" id="logout">
                <img
                  src="../layuiadmin/images/backLogin.png"
                  class="backLogin"
                />
              </a>
            </li>
          </ul>
        </div>
        <!-- 侧边菜单 -->
        <div class="layui-side layui-side-menu">
          <div class="layui-side-scroll">
            <div class="layui-logo" lay-href="./pages/console.html">
              <img
                src="../layuiadmin/images/headPortrait.gif"
                class="headPortrait"
              />
              <span></span>
            </div>
            <ul
              class="layui-nav layui-nav-tree"
              lay-shrink="all"
              id="LAY-system-side-menu"
              lay-filter="layadmin-system-side-menu"
            >
              <li
                data-name="projectManagement"
                class="layui-nav-item layui-nav-itemed"
              >
                <a
                  href="javascript:;"
                  lay-tips="事务综合管理"
                  lay-direction="2"
                >
                  <i class="layui-icon layui-icon-app"></i>
                  <cite>事务综合管理</cite>
                </a>
                <dl class="layui-nav-child">
                  <dd data-name="home" class="layui-this">
                    <a lay-href="./pages/home.html">技审主页 </a>
                  </dd>
                  <dd data-name="projectManagement">
                    <a lay-href="./pages/projectManagement.html">项目管理</a>
                  </dd>
                </dl>
              </li>
              <li data-name="onlineConference" class="layui-nav-item">
                <a
                  href="javascript:;"
                  lay-tips="会议综合管理"
                  lay-direction="2"
                >
                  <i class="layui-icon layui-icon-video"></i>
                  <cite>会议综合管理</cite>
                </a>
                <dl class="layui-nav-child">
                  <dd data-name="meetingSchedule">
                    <a lay-href="./pages/meetingSchedule.html">会议日程 </a>
                  </dd>
                  <dd data-name="console">
                    <a lay-href="./pages/meetingsManagement.html">会议管理</a>
                  </dd>
                </dl>
              </li>
              <li data-name="technicalReview" class="layui-nav-item">
                <a
                  href="javascript:;"
                  lay-href="./pages/technicalReview.html"
                  lay-tips="技审成果管理"
                  lay-direction="2"
                >
                  <i class="layui-icon layui-icon-auz"></i>
                  <cite>技审成果管理</cite>
                </a>
                <dl class="layui-nav-child">
                  <dd data-name="projectOverview">
                    <a lay-href="./pages/projectOverview.html">工程概况 </a>
                  </dd>
                  <dd data-name="meetingInformationDone">
                    <a lay-href="./pages/meetingInfoList.html">会议纪要</a>
                  </dd>
                  <dd data-name="guardianshipProgram">
                    <a href="javascript:;">监护大纲</a>
                    <dl class="layui-nav-child">
                      <dd data-name="gradeDeterminationn">
                        <a
                          href="javascript:;"
                          lay-href="./pages/gradeDetermination.html"
                          >等级判定</a
                        >
                      </dd>
                      <dd data-name="technicalRequirement">
                        <a
                          href="javascript:;"
                          lay-href="./pages/guardianshipProgram.html"
                          >技术要求</a
                        >
                      </dd>
                      <dd data-name="guardianshipProgramm">
                        <a href="javascript:;">监护大纲</a>
                      </dd>
                    </dl>
                  </dd>
                  <dd data-name="technicalReviewOpinions">
                    <a href="javascript:;">技审意见</a>
                    <dl class="layui-nav-child">
                      <dd data-name="opinionGeneration">
                        <a
                          href="javascript:;"
                          lay-href="./pages/technicalReviewOpinionss.html"
                          >技审意见生成</a
                        >
                      </dd>
                      <dd data-name="technicalReviewDraftX">
                        <a
                          href="javascript:;"
                          lay-href="./pages/technicalReviewDraft.html"
                          >技审草稿上传</a
                        >
                      </dd>
                    </dl>
                  </dd>
                  <dd data-name="specialProtection">
                    <a href="javascript:;">专项保护方案</a>
                    <dl class="layui-nav-child">
                      <dd data-name="specialProtectionEnd">
                        <a
                          href="javascript:;"
                          lay-href="./pages/specialProtectionStart.html"
                          >专项保护方案终稿</a
                        >
                      </dd>
                      <dd data-name="specialProtectionDraft">
                        <a
                          href="javascript:;"
                          lay-href="./pages/specialProtectionEnd.html"
                          >专项保护方案草稿</a
                        >
                      </dd>
                    </dl>
                  </dd>
                </dl>
              </li>
              <li data-name="systemsAnalysis" class="layui-nav-item">
                <a
                  href="javascript:;"
                  lay-href="./pages/statisticalAnalysis.html"
                  lay-tips="统计分析管理"
                  lay-direction="2"
                >
                  <i class="layui-icon layui-icon-chart"></i>
                  <cite>统计分析管理</cite>
                </a>
              </li>
            </ul>
          </div>
        </div>

        <!-- 页面标签 -->
        <div class="layadmin-pagetabs" id="LAY_app_tabs" style="display: none">
          <div
            class="layui-icon layadmin-tabs-control layui-icon-prev"
            layadmin-event="leftPage"
          ></div>
          <div
            class="layui-icon layadmin-tabs-control layui-icon-next"
            layadmin-event="rightPage"
          ></div>
          <div
            class="layui-tab"
            lay-unauto
            lay-allowClose="true"
            lay-filter="layadmin-layout-tabs"
          >
            <ul class="layui-tab-title" id="LAY_app_tabsheader">
              <li lay-id="home.html" lay-attr="home.html" class="layui-this">
                <i class="layui-icon layui-icon-home"></i>
              </li>
            </ul>
          </div>
        </div>

        <!-- 主体内容 -->
        <div class="layui-body" id="LAY_app_body">
          <div class="layadmin-tabsbody-item layui-show">
            <iframe
              src="pages/home.html"
              frameborder="0"
              class="layadmin-iframe"
              id="layadmin-iframe"
              name="layadmin-iframe"
            ></iframe>
          </div>
        </div>

        <!-- 辅助元素，一般用于移动设备下遮罩 -->
        <div class="layadmin-body-shade" layadmin-event="shade"></div>
      </div>
    </div>

    <script src="../layuiadmin/layui/layui.js"></script>
    <script src="../layuiadmin/modules/jTools.js"></script>
    <script src="../layuiadmin/modules/new.js"></script>
    <script src="../layuiadmin/modules/const_config.js"></script>
    <script src="../layuiadmin/modules/jquery.min.js"></script>
    <script src="../layuiadmin/modules/messageNotification.js"></script>
    <!-- <script src="../layuiadmin/modules/request.js"></script> -->
    <script>
      layui
        .config({
          base: "../layuiadmin/", //静态资源所在路径
        })
        .extend({
          index: "lib/index", //主入口模块
        })
        .use("index", function () {
          var $ = layui.$;
          $(".layui-logo span").text(layui.sessionData("userName").key);
          $("#logout").click(function () {
            layui.sessionData("userName", {
              key: "key",
              remove: true,
            });
            layui.sessionData("userToken", {
              key: "key",
              remove: true,
            });
            location.href = "./pages/login.html"; //登录页
          });
          $('#LAY-system-side-menu dd[data-name="opinionGeneration"]').on(
            "click",
            function () {
              layui.data("technicalType", {
                key: "key",
                value: 0,
              });
              $(
                '#LAY-system-side-menu dd[data-name="opinionGeneration"] a'
              ).attr("lay-href", "./pages/technicalReviewOpinionss.html");
            }
          );
          $('#LAY-system-side-menu dd[data-name="technicalReviewDraftX"]').on(
            "click",
            function () {
              layui.data("technicalType", {
                key: "key",
                value: 1,
              });
              layui.data("reviewType", {
                key: "key",
                value: 1,
              });
              $(
                '#LAY-system-side-menu dd[data-name="technicalReviewDraftX"] a'
              ).attr("lay-href", "./pages/technicalReviewDraft.html");
            }
          );
          $('#LAY-system-side-menu dd[data-name="specialProtectionDraft"]').on(
            "click",
            function () {
              layui.data("technicalType", {
                key: "key",
                value: 0,
              });
              layui.data("no", {
                key: "key",
                value: "",
              });
              $(
                '#LAY-system-side-menu dd[data-name="specialProtectionDraft"] a'
              ).attr("lay-href", "./pages/specialProtectionEnd.html");
            }
          );
          $('#LAY-system-side-menu dd[data-name="specialProtectionEnd"]').on(
            "click",
            function () {
              layui.data("technicalType", {
                key: "key",
                value: 1,
              });
              layui.data("no", {
                key: "key",
                value: "",
              });
              $(
                '#LAY-system-side-menu dd[data-name="specialProtectionEnd"] a'
              ).attr("lay-href", "./pages/specialProtectionStart.html");
            }
          );
          // $('#LAY-system-side-menu dd[data-name="guardianshipProgramm"]').on(
          //   "click",
          //   function () {
          //     $(
          //       '#LAY-system-side-menu dd[data-name="guardianshipProgramm"] a'
          //     ).attr("lay-href", "./pages/technicalReviewOpinionss.html");
          //   }
          // );
          // 个人中心
          $(".layui-side-scroll .layui-logo").on("click", function () {
            $(".layui-side-scroll .layui-logo").attr(
              "lay-href",
              "./pages/console.html?no=" +
                location.search.substr(location.search.indexOf("=") + 1)
            );
          });
        });
    </script>
  </body>
</html>
